﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SharingCenter.Web.Mod.Groups.Albums
{
    using SharingCenter.Web.Classes;
    using SharingCenter.Web.Classes.Events;
    using SharingCenter.Web.Classes.Albums;
    public partial class Default : GroupsPageBase
    {
      
        protected void Page_Init(object sender, EventArgs e)
        {
            ParseGroupIdFromQueryString();
            HasRights(groupId, Profile.UserId);
            GroupSharedAlbum1.AlbumListShown += new EventHandler<SharingCenter.Web.Shared.SharedAlbumEventArgs>(GroupSharedAlbum1_AlbumListShown);
        }

        void GroupSharedAlbum1_AlbumListShown(object sender, SharingCenter.Web.Shared.SharedAlbumEventArgs e)
        {
            
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            GroupSharedAlbum1.ContextId = groupId;
            GroupSharedAlbum1.ExtraQueryString = "id=" + groupId;
            GroupCreateAlbum1.ContextId = groupId;
            GroupCreateAlbum1.UrlOnCreateComplete = "Upload.aspx?id=" + groupId;
        }
    }
}
